import Vue from 'vue'
import VueRouter from 'vue-router'
import BiLayout from '../views/bi-layout.vue'
import Detailspage from '../views/detailspage.vue'
import Gridindex from '../views/gridindex'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Gridindex',
    component: Gridindex
  },
  {
    path: '/biLayout',
    name: 'BiLayout',
    component: BiLayout
  }, {
    path: '/detailspage',
    name: 'Detailspage',
    component: Detailspage
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
